package com.example.zqh.service;

import com.example.zqh.model.RespBean;
import com.example.zqh.pojo.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zqh.pojo.params.OneStringOneNumber;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zqh
 * @since 2022-09-10
 */
public interface DeptService extends IService<Dept> {


    /**
      * @Author: zqh
      * @Date:
      * @Description: 部门添加接口
    */
    RespBean departmentAddInterface(String name, String sc);
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 部门删除接口
    */
    RespBean departmentDeleteInterface(Integer id);
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: changeTheNameOfTheDepartment
    */
    RespBean changeTheNameOfTheDepartment(OneStringOneNumber oneStringOneNumber);
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 修改部门描述
    */
    RespBean modifyDepartmentDescription(OneStringOneNumber oneStringOneNumber);
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 获取所有部门的数量
    */
    RespBean getTheCountOfAllDepartments();
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 分页查询所有部门
    */
    RespBean paginationToQueryAllDepartments(Integer page, Integer size);
}
